package com.wolf.service.impl;

import com.wolf.pojo.Wl_commodity_placeorigin;
import com.wolf.repository.Wl_commodity_placeoriginMapper;
import com.wolf.service.Wl_commodity_placeoriginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class Wl_commodity_placeoriginServiceImpl implements Wl_commodity_placeoriginService {

    @Autowired
    Wl_commodity_placeoriginMapper wl_commodity_placeoriginMapper;

    @Override
    public int insert(Wl_commodity_placeorigin record) {
        return wl_commodity_placeoriginMapper.insert(record);
    }

    @Override
    public int insertSelective(Wl_commodity_placeorigin record) {
        return wl_commodity_placeoriginMapper.insertSelective(record);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_commodity_placeorigin record) {
        return wl_commodity_placeoriginMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public List<Wl_commodity_placeorigin> fuzzyQuery(String chnorigin, String engorigin, String beginTime, String endTime, String status) {
        return wl_commodity_placeoriginMapper.fuzzyQuery(chnorigin, engorigin, beginTime, endTime, status);
    }

    @Override
    public Wl_commodity_placeorigin selectByPrimaryKey(String id) {
        return wl_commodity_placeoriginMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(Wl_commodity_placeorigin record) {
        return wl_commodity_placeoriginMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_commodity_placeorigin> getAll() {
        return wl_commodity_placeoriginMapper.getAll();
    }
}
